<%= stylesheet_link_tag '/assets/presentation' %>

<!-- orientation info -->
<% if @guided_tour %>
	<div id="orinfo">
		<%= link_to 'Home', root_path %> >
		<%= link_to 'Best Events', events_best_path %> >
		<%= @event.name %>
	</div>
<% else %>
	<div id="orinfo">
		<%= link_to 'Home', root_path %> >
		<%= link_to 'All Events', events_all_path %> >
		<%= @event.name %>
	</div>
<% end %>

<h1><%= @event.name %> - <%= @event.formattedDate %> </h1>

<button id ="introduction" class="structural" disabled="disabled">
	Introduction
</button>

<button id="booking" class="structural">
	<%= link_to 'HD Photos', events_hd_photos_path(guided_tour: @guided_tour) %>
</button>

<!-- navigation link for the guided tour -->
<div id="Buttons">
	<% if @guided_tour %>
	<button id="prevBut">
		<%= link_to 'prev', event_path(@previous, guided_tour: true) %>
	</button>
	<button id="nextBut">
		<%= link_to 'next', event_path(@next, guided_tour: true) %>
	</button>
	<% end %>
</div>

<%= image_tag @event.img_src, class: "descImg" %>

<div class="schedule">
	<h4>Event Schedule </h4>
	<%= simple_format @event.schedule %>
</div>

<div class="desc"><%= simple_format @event.description %> </div>

<div class="related">
	<% if @related_structures.size()>0 %>
		<h4> The <%= "structure".pluralize(@related_structures.size()) %>: </h4>
		<ul>
			<% @related_structures.each do |structure| %>
				<li> <%= link_to structure.name, structure_path(structure) %> </li>
			<% end %>
		</ul>
	<% end %>
</div>
